package com.dcy.znoa.domain.dic;

import java.io.Serializable;
import java.util.List;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 城市代码表
 * @author pengyu
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("dic_city_code")
public class DicCityCode implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2695238976272840512L;
	@TableId(type = IdType.INPUT)
	private String cityCode;
//	@TableField("province_code")
	@TableField
	private String provinceCode;
//	@TableField("city_name")
	@TableField
	private String cityName;

	@TableField(exist = false)
	private List<DicDistrictCode> districtList;
	
	
	 
//	public List<DicDistrictCode> getDistrictList() {
//		return districtList;
//	}
//	public void setDistrictList(List<DicDistrictCode> districtList) {
//		this.districtList = districtList;
//	}
//	public String getCity_code() {
//		return city_code;
//	}
//	public void setCity_code(String city_code) {
//		this.city_code = city_code;
//	}
//	public String getProvince_code() {
//		return province_code;
//	}
//	public void setProvince_code(String province_code) {
//		this.province_code = province_code;
//	}
//	public String getCity_name() {
//		return city_name;
//	}
//	public void setCity_name(String city_name) {
//		this.city_name = city_name;
//	}
}
